﻿using System;
using System.Transactions;
using NUnit.Framework;

namespace ClientManager.Data.Tests
{
    [TestFixture]
    public class GenericRepositoryTest
    {
        private TransactionScope _transactionScope;
        private const string TestDatabaseName = "TestDatabase";

        [SetUp]
        public void SetUp()
        {
            _transactionScope = new TransactionScope(TransactionScopeOption.RequiresNew);
        }

        [TearDown]
        public void TearDown()
        {
            _transactionScope.Dispose();
        }
    }
}
